package com.platform.demo.entity;

/**
 * 用户实体类
 * 
 * @desc com.itcast.entity
 * @author wangshc
 * @version 1.0 2017-4-9:下午4:00:00
 */
public class User {

	private long id;
	// 用户名
	private String name;
	// 年龄
	private int age;
	// 地址
	private String address;
	// 手机号
	private String phone;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", name=" + name + ", age=" + age + ", address=" + address + ", phone=" + phone + "]";
	}

}
